﻿@model Lucy.Models.Customer
@{
    ViewBag.Title = "Home";
}
@section featured {
    <section class="featured">
        <div class="content-wrapper">
            <hgroup class="title">
                <h2>@ViewBag.Message</h2>
            </hgroup>
            <p style="display:none;">
                To learn more about ASP.NET MVC visit
                <a href="http://asp.net/mvc" title="ASP.NET MVC Website">http://asp.net/mvc</a>.
                The page features <mark>videos, tutorials, and samples</mark> to help you get the most from ASP.NET MVC.
                If you have any questions about ASP.NET MVC visit
                <a href="http://forums.asp.net/1146.aspx/1?MVC" title="ASP.NET MVC Forum">our forums</a>.
            </p>
            <p>
            @if (Request.IsAuthenticated)
            {
                <span>
                    Hello <b>@Html.Encode(User.Identity.Name)</b>, welcome back!
                </span>
            }
            <span>Please choose one of the options below:</span>
            </p>
        </div>
    </section>
}

<table style="width:100%;">
    <tr>
        <th>
            <h4>1. Customers</h4>
        </th>
        <th>
            <h4>2. Orders</h4>
        </th>
    </tr>
    <tr>
        <td style="width: 33%; vertical-align: top;">
            <ol class="round">
                @if (Request.IsAuthenticated)
                {
                    <li class="one">
                        <h5>@Html.ActionLink("User profile", "Details", "Customer")</h5>
                        View your customer details and current/past orders
                        <i>[IMPLEMENTED]</i>
                    </li>
                    <li class="one">
                        <h5>Edit details</h5>
                        Edit your profile or change your log in password
                    </li>
                    <li class="three">
                        <h5>@Html.ActionLink("Sign Out", "SignOut", "Customer")</h5>
                        Have a good day! :)
                        <i>[IMPLEMENTED]</i>
                    </li>
                }
                else
                {
                    <li class="one">
                        <h5>@Html.ActionLink("Register", "Register", "Customer")</h5>
                        Register to Lucy in the Sky website, and be able to receive updates from us via email, and also to purchase diamonds and rings.
                        <i>[IMPLEMENTED]</i>
                    </li>

                    <li class="two">
                        <h5>@Html.ActionLink("Sign in", "SignIn", "Customer")</h5>
                        Already a registered customer? Great! Log in.
                        <i>[IMPLEMENTED]</i>
                    </li>
                }
            </ol>
        </td>
        <td style="width:33%; vertical-align:top;">
            <ol class="round">
                <li class="one">
                    <h5>@Html.ActionLink("New order", "Create", "Order")</h5>
                    Make a new order: Choose a diamond, an optional jewel and preferred payment method.
                    <i>[IMPLEMENTED]</i>
                </li>

                <li class="two">
                    <h5>Diamonds</h5>
                    View our collection of diamonds
                </li>

                <li class="three">
                    <h5>Jewels</h5>
                    View our collection of jewels
                </li>
            </ol>
        </td>
    </tr>
</table>
